import serve from './../util/Http.js'
export default{
    login(data){
        console.log(data.name)
        return serve({
            method:'get',
            params:{
                _gp:'admin',
                _mt:'login',
                username:data.name,
                password:data.pass,
                verifyCode:data.age,
            }
        })
    },
    quit(data){
        return serve({
            method:'get',
            params:{
                _gp:'admin',
                _mt:'logout',
                ADMINTOKEN:data
            }
        })
    },
}